<div class="form">

<?php echo CHtml::beginForm(); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo CHtml::errorSummary($model); ?>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'contract'); ?>
		<?php echo CHtml::activeTextField($model,'contract',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo CHtml::error($model,'contract'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'account'); ?>
		<?php echo CHtml::activeTextField($model,'account',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo CHtml::error($model,'account'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'ip_address'); ?>
		<?php echo CHtml::activeTextField($model,'ip_address',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo CHtml::error($model,'ip_address'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'username'); ?>
		<?php echo CHtml::activeTextField($model,'username',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo CHtml::error($model,'username'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'balance'); ?>
		<?php echo CHtml::activeTextField($model,'balance',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo CHtml::error($model,'balance'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'abonplata'); ?>
		<?php echo CHtml::activeTextField($model,'abonplata',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo CHtml::error($model,'abonplata'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'limit'); ?>
		<?php echo CHtml::activeTextField($model,'limit',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo CHtml::error($model,'limit'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'end_time'); ?>
		<?php echo CHtml::activeTextField($model,'end_time'); ?>
		<?php echo CHtml::error($model,'end_time'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'pkt_end_time'); ?>
		<?php echo CHtml::activeTextField($model,'pkt_end_time'); ?>
		<?php echo CHtml::error($model,'pkt_end_time'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'packet_id'); ?>
		<?php echo CHtml::activeTextField($model,'packet_id'); ?>
		<?php echo CHtml::error($model,'packet_id'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'speed_id'); ?>
		<?php echo CHtml::activeTextField($model,'speed_id'); ?>
		<?php echo CHtml::error($model,'speed_id'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'blocked'); ?>
		<?php echo CHtml::activeTextField($model,'blocked'); ?>
		<?php echo CHtml::error($model,'blocked'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'blocked_by_bill'); ?>
		<?php echo CHtml::activeTextField($model,'blocked_by_bill'); ?>
		<?php echo CHtml::error($model,'blocked_by_bill'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'enabled'); ?>
		<?php echo CHtml::activeTextField($model,'enabled'); ?>
		<?php echo CHtml::error($model,'enabled'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'address'); ?>
		<?php echo CHtml::activeTextField($model,'address',array('size'=>60,'maxlength'=>128)); ?>
		<?php echo CHtml::error($model,'address'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'email'); ?>
		<?php echo CHtml::activeTextField($model,'email',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo CHtml::error($model,'email'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'telephon'); ?>
		<?php echo CHtml::activeTextField($model,'telephon',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo CHtml::error($model,'telephon'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'active'); ?>
		<?php echo CHtml::activeTextField($model,'active'); ?>
		<?php echo CHtml::error($model,'active'); ?>
	</div>

	<div class="row">
		<?php echo CHtml::activeLabelEx($model,'change_time'); ?>
		<?php echo CHtml::activeTextField($model,'change_time'); ?>
		<?php echo CHtml::error($model,'change_time'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php echo CHtml::endForm(); ?>

</div><!-- form -->